package com.xcity.pomelo.response;

import com.xcity.db.entity.Player;
import com.xcity.game.arena.ArenaUtils;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.protocol.Message;

@PomeloMessage(type = Message.Type.RESPONSE)
public class ArenaBuyTimesResponse extends Response {

	protected int num;
	protected int stone;
	
	public ArenaBuyTimesResponse(int serial, Player player) {
		super(serial);
		this.num = ArenaUtils.getLeftJoinTimes(player);
		this.stone = ArenaUtils.getBuyTimesCostStone(player);
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	public int getStone() {
		return stone;
	}

	public void setStone(int stone) {
		this.stone = stone;
	}
	
}
